package com.accp.vehiclecare.dao.zbdao;

import com.accp.vehiclecare.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer deid);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer deid);

    /**
     * 根据部门Id查询全部的部门
     * @return
     */
    List<Department> SelectDep(@Param("sid") Integer sid);

    int updateByPrimaryKeySelective(Department record);
    
    int updateByPrimaryKey(Department record);
}